using System.Data;
using VanTaiData;
using VanTaiProperty;
namespace VanTaiBLL
{
    public class clsTMRepairMaterialsBusiness
    {
        public static clsTMRepairMaterialsController cls = new clsTMRepairMaterialsController();

        #region[Get-Data]
        public DataTable BindGirdTMRepairMaterials_Detail_Edit(int id)
        {
            return cls.BindGirdTMRepairMaterials_Detail_Edit(id);
        }
        #endregion

        #region[Insert-Update-Delete]
        public static bool InsertTMRepairMaterials(clsTMRepairMaterialsProperty obj)
        {
            return cls.InsertTMRepairMaterials(obj);
        }
        public static bool UpdateTMRepairMaterials(clsTMRepairMaterialsProperty obj)
        {
            return cls.UpdateTMRepairMaterials(obj);
        }
        public static bool DeleteTMRepairMaterials(int id)
        {
            return cls.DeleteTMRepairMaterials(id);
        }
        public bool TMRepairMaterials_Check_Delete_TMSymbolRepairMaterials(int id)
        {
            return cls.TMRepairMaterials_Check_Delete_TMSymbolRepairMaterials(id);
        }
        public bool TMRepairMaterials_Check_Delete_TMCustomers(int id)
        {
            return cls.TMRepairMaterials_Check_Delete_TMCustomers(id);
        }
        #endregion

        #region[Search]
        public DataTable Search(string keywords)
        {
            return cls.Search(keywords);
        }
        #endregion
    }
}